//
//  TextFieldView.h
//  OneBox
//
//  Created by Onebox on 2017/11/6.
//  Copyright © 2017年 OneBox. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TextFieldView : UIView<UITextFieldDelegate>
@property (nonatomic, strong) UIButton *leftIcon;
@property (nonatomic, strong) UITextField *TextF;
@property (nonatomic, strong) UIImageView *rightIcon;
/**默认边框颜色*/
@property(nonatomic,copy)UIColor *ViewBorderColor;
/**默认边框宽度*/
@property(nonatomic,assign)CGFloat ViewBorderWidth;
/**最多输入长度*/
@property(nonatomic,assign)int maxTextLength;

@property (nonatomic, copy) NSString *placeholderString;

/**键盘类型*/
@property (nonatomic)UIKeyboardType *KeyBoardType;

-(void)addShakeAnimation;
@end
